home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 47 / CD-ROM 47 / CD-ROM 47.iso / aplicat / minibase / _setup.1 / MiniBase.exe / 0 / RCDATA / TTABLEDESIGNER / TTABLEDESIGNER.txt
Encoding:
Text File  |  1999-03-12  |  12.0 KB  |  486 lines

  1. object TableDesigner: TTableDesigner
  2.   Left = 179
  3.   Top = 109
  4.   BorderStyle = bsDialog
  5.   Caption = 'Table designer'
  6.   ClientHeight = 357
  7.   ClientWidth = 521
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   Position = poScreenCenter
  14.   OnCloseQuery = FormCloseQuery
  15.   OnCreate = FormCreate
  16.   OnDestroy = FormDestroy
  17.   OnShow = FormShow
  18.   PixelsPerInch = 96
  19.   TextHeight = 13
  20.   object Panel1: TPanel
  21.     Left = 0
  22.     Top = 0
  23.     Width = 521
  24.     Height = 304
  25.     Align = alClient
  26.     BevelOuter = bvNone
  27.     BorderWidth = 5
  28.     ParentColor = True
  29.     TabOrder = 0
  30.     object PageControl1: TPageControl
  31.       Left = 5
  32.       Top = 5
  33.       Width = 511
  34.       Height = 294
  35.       ActivePage = FieldSheet
  36.       Align = alClient
  37.       TabOrder = 0
  38.       OnChange = PageControl1Change
  39.       OnChanging = PageControl1Changing
  40.       object FieldSheet: TTabSheet
  41.         Caption = 'Field details'
  42.         object Label3: TLabel
  43.           Left = 144
  44.           Top = 224
  45.           Width = 50
  46.           Height = 13
  47.           Caption = 'Max Value'
  48.         end
  49.         object Label2: TLabel
  50.           Left = 144
  51.           Top = 200
  52.           Width = 47
  53.           Height = 13
  54.           Caption = 'Min Value'
  55.         end
  56.         object Label1: TLabel
  57.           Left = 144
  58.           Top = 176
  59.           Width = 64
  60.           Height = 13
  61.           Caption = 'Default Value'
  62.         end
  63.         object DBGrid1: TDBGrid
  64.           Left = 8
  65.           Top = 8
  66.           Width = 481
  67.           Height = 161
  68.           DataSource = DataSource1
  69.           Font.Charset = DEFAULT_CHARSET
  70.           Font.Color = clWindowText
  71.           Font.Height = -11
  72.           Font.Name = 'MS Sans Serif'
  73.           Font.Style = []
  74.           ParentFont = False
  75.           TabOrder = 0
  76.           TitleFont.Charset = DEFAULT_CHARSET
  77.           TitleFont.Color = clNavy
  78.           TitleFont.Height = -13
  79.           TitleFont.Name = 'MS Sans Serif'
  80.           TitleFont.Style = []
  81.           OnColEnter = DBGrid1ColEnter
  82.           OnKeyPress = DBGrid1KeyPress
  83.           Columns = <
  84.             item
  85.               FieldName = 'FieldName'
  86.               Title.Caption = 'Field Name'
  87.               Width = 189
  88.             end
  89.             item
  90.               FieldName = 'FieldType'
  91.               Title.Caption = 'Field Type'
  92.               Width = 103
  93.             end
  94.             item
  95.               FieldName = 'FieldSize'
  96.               Title.Caption = 'Field Size'
  97.             end
  98.             item
  99.               FieldName = 'RequiredField'
  100.               PickList.Strings = (
  101.                 'true'
  102.                 'false')
  103.               Title.Caption = 'Req'#39'd Field'
  104.               Width = 87
  105.             end>
  106.         end
  107.         object FldUpBtn: TBitBtn
  108.           Left = 0
  109.           Top = 176
  110.           Width = 67
  111.           Height = 25
  112.           Hint = 'Move the currently selected field up 1 row'
  113.           Caption = 'Move &Up'
  114.           TabOrder = 1
  115.           OnClick = FldUpBtnClick
  116.         end
  117.         object FldDownBtn: TBitBtn
  118.           Left = 68
  119.           Top = 176
  120.           Width = 67
  121.           Height = 25
  122.           Hint = 'Move the currently selected field down 1 row'
  123.           Caption = 'Move &Down'
  124.           TabOrder = 2
  125.           OnClick = FldDownBtnClick
  126.         end
  127.         object BorrowBtn: TBitBtn
  128.           Left = 15
  129.           Top = 204
  130.           Width = 105
  131.           Height = 25
  132.           Hint = 'Use the design of an existing table for this table'
  133.           Caption = '&Borrow design'
  134.           TabOrder = 3
  135.           OnClick = BorrowBtnClick
  136.         end
  137.         object DBEdit1: TDBEdit
  138.           Left = 224
  139.           Top = 176
  140.           Width = 121
  141.           Height = 21
  142.           Hint = 'default value for the current field'
  143.           DataField = 'DefaultValue'
  144.           DataSource = DataSource1
  145.           TabOrder = 4
  146.           OnKeyPress = DBEdit1KeyPress
  147.         end
  148.         object DBEdit2: TDBEdit
  149.           Left = 224
  150.           Top = 200
  151.           Width = 121
  152.           Height = 21
  153.           Hint = 'minimum possible value (only integer, currency and float fields)'
  154.           DataField = 'MinValue'
  155.           DataSource = DataSource1
  156.           TabOrder = 5
  157.           OnKeyPress = DBEdit2KeyPress
  158.         end
  159.         object DBEdit3: TDBEdit
  160.           Left = 224
  161.           Top = 224
  162.           Width = 121
  163.           Height = 21
  164.           Hint = 'maximum possible value (only integer, currency and float fields)'
  165.           DataField = 'MaxValue'
  166.           DataSource = DataSource1
  167.           TabOrder = 6
  168.           OnKeyPress = DBEdit2KeyPress
  169.         end
  170.         object AddFldBtn: TBitBtn
  171.           Left = 0
  172.           Top = 232
  173.           Width = 67
  174.           Height = 25
  175.           Hint = 'add a new field'
  176.           Caption = '&Add field'
  177.           TabOrder = 7
  178.           OnClick = AddFldBtnClick
  179.         end
  180.         object DelFldBtn: TBitBtn
  181.           Left = 68
  182.           Top = 232
  183.           Width = 67
  184.           Height = 25
  185.           Hint = 'delete selected field'
  186.           Caption = 'D&elete field'
  187.           TabOrder = 8
  188.           OnClick = DelFldBtnClick
  189.         end
  190.       end
  191.       object IndexPage: TTabSheet
  192.         Caption = 'Index details'
  193.         object shr1Btn: TSpeedButton
  194.           Left = 168
  195.           Top = 80
  196.           Width = 25
  197.           Height = 25
  198.           Hint = 'Include this field in the index'
  199.           Caption = '>'
  200.           ParentShowHint = False
  201.           ShowHint = False
  202.           OnClick = shr1BtnClick
  203.         end
  204.         object shl1Btn: TSpeedButton
  205.           Left = 168
  206.           Top = 112
  207.           Width = 25
  208.           Height = 25
  209.           Hint = 'remove this field from the index'
  210.           Caption = '<'
  211.           OnClick = shl1BtnClick
  212.         end
  213.         object shrAllBtn: TSpeedButton
  214.           Left = 168
  215.           Top = 152
  216.           Width = 25
  217.           Height = 25
  218.           Hint = 'inlude all fields in the index'
  219.           Caption = '>>'
  220.           OnClick = shrAllBtnClick
  221.         end
  222.         object shlAllBtn: TSpeedButton
  223.           Left = 168
  224.           Top = 184
  225.           Width = 25
  226.           Height = 25
  227.           Hint = 'clear the index'
  228.           Caption = '<<'
  229.           OnClick = shlAllBtnClick
  230.         end
  231.         object ShUpBtn: TSpeedButton
  232.           Tag = -1
  233.           Left = 232
  234.           Top = 219
  235.           Width = 41
  236.           Height = 25
  237.           Hint = 'move the selected index field up'
  238.           Caption = 'Up'
  239.           OnClick = ShUpBtnClick
  240.         end
  241.         object ShDnBtn: TSpeedButton
  242.           Tag = 1
  243.           Left = 280
  244.           Top = 219
  245.           Width = 41
  246.           Height = 25
  247.           Hint = 'move the selected index field down'
  248.           Caption = 'Down'
  249.           OnClick = ShDnBtnClick
  250.         end
  251.         object Label5: TLabel
  252.           Left = 24
  253.           Top = 56
  254.           Width = 111
  255.           Height = 13
  256.           Caption = 'Table fields not in index'
  257.         end
  258.         object Label6: TLabel
  259.           Left = 216
  260.           Top = 56
  261.           Width = 66
  262.           Height = 13
  263.           Caption = 'Fields in index'
  264.         end
  265.         object Label7: TLabel
  266.           Left = 168
  267.           Top = 24
  268.           Width = 62
  269.           Height = 13
  270.           Caption = 'Current index'
  271.         end
  272.         object IndexComboBox: TComboBox
  273.           Left = 248
  274.           Top = 24
  275.           Width = 145
  276.           Height = 21
  277.           Hint = 'current table index'
  278.           Style = csDropDownList
  279.           Font.Charset = DEFAULT_CHARSET
  280.           Font.Color = clMaroon
  281.           Font.Height = -11
  282.           Font.Name = 'MS Sans Serif'
  283.           Font.Style = [fsBold]
  284.           ItemHeight = 0
  285.           ParentFont = False
  286.           ParentShowHint = False
  287.           ShowHint = True
  288.           TabOrder = 0
  289.           OnChange = IndexComboBoxChange
  290.         end
  291.         object DelIndexBtn: TBitBtn
  292.           Left = 408
  293.           Top = 36
  294.           Width = 75
  295.           Height = 25
  296.           Hint = 'delete the current index'
  297.           Caption = '&Delete index'
  298.           TabOrder = 1
  299.           OnClick = DelIndexBtnClick
  300.         end
  301.         object AddIndexBtn: TBitBtn
  302.           Left = 408
  303.           Top = 8
  304.           Width = 75
  305.           Height = 25
  306.           Hint = 'add a new index'
  307.           Caption = '&Add index'
  308.           TabOrder = 2
  309.           OnClick = AddIndexBtnClick
  310.         end
  311.         object EditIndexBtn: TBitBtn
  312.           Left = 408
  313.           Top = 64
  314.           Width = 75
  315.           Height = 25
  316.           Hint = 'rename the index name'
  317.           Caption = '&Edit Index'
  318.           TabOrder = 3
  319.           OnClick = EditIndexBtnClick
  320.         end
  321.         object FieldListBox: TListBox
  322.           Left = 24
  323.           Top = 80
  324.           Width = 121
  325.           Height = 129
  326.           Hint = 'remaining fields'
  327.           ItemHeight = 13
  328.           TabOrder = 4
  329.         end
  330.         object IndexListBox: TListBox
  331.           Left = 216
  332.           Top = 80
  333.           Width = 121
  334.           Height = 129
  335.           Hint = 'selected fields'
  336.           ItemHeight = 13
  337.           TabOrder = 5
  338.           OnClick = IndexListBoxClick
  339.         end
  340.       end
  341.     end
  342.     object Panel3: TPanel
  343.       Left = 364
  344.       Top = 204
  345.       Width = 137
  346.       Height = 81
  347.       BevelOuter = bvLowered
  348.       Caption = 'Panel3'
  349.       TabOrder = 1
  350.       object Label4: TLabel
  351.         Left = 8
  352.         Top = 8
  353.         Width = 121
  354.         Height = 65
  355.         AutoSize = False
  356.         Caption = '     Table Designer'
  357.         Font.Charset = DEFAULT_CHARSET
  358.         Font.Color = clMaroon
  359.         Font.Height = -13
  360.         Font.Name = 'MS Sans Serif'
  361.         Font.Style = []
  362.         ParentFont = False
  363.         Layout = tlCenter
  364.         WordWrap = True
  365.       end
  366.     end
  367.   end
  368.   object Panel2: TPanel
  369.     Left = 0
  370.     Top = 304
  371.     Width = 521
  372.     Height = 34
  373.     Align = alBottom
  374.     BevelOuter = bvNone
  375.     ParentColor = True
  376.     TabOrder = 1
  377.     object OKBtn: TButton
  378.       Left = 187
  379.       Top = 2
  380.       Width = 75
  381.       Height = 25
  382.       Caption = 'OK'
  383.       Default = True
  384.       ModalResult = 1
  385.       TabOrder = 0
  386.       OnClick = OKBtnClick
  387.     end
  388.     object CancelBtn: TButton
  389.       Left = 267
  390.       Top = 2
  391.       Width = 75
  392.       Height = 25
  393.       Cancel = True
  394.       Caption = 'Cancel'
  395.       ModalResult = 2
  396.       TabOrder = 1
  397.     end
  398.     object HelpBtn: TButton
  399.       Left = 347
  400.       Top = 2
  401.       Width = 75
  402.       Height = 25
  403.       Caption = '&Help'
  404.       TabOrder = 2
  405.       OnClick = HelpBtnClick
  406.     end
  407.   end
  408.   object StatusBar1: TStatusBar
  409.     Left = 0
  410.     Top = 338
  411.     Width = 521
  412.     Height = 19
  413.     Panels = <
  414.       item
  415.         Text = 'View mode'
  416.         Width = 80
  417.       end
  418.       item
  419.         Text = 'Table Designer'
  420.         Width = 50
  421.       end>
  422.     SimplePanel = False
  423.   end
  424.   object OpenDialog1: TOpenDialog
  425.     Filter = 'Mini table files (*.mti)|*.mti'
  426.     InitialDir = '.\tables'
  427.     Options = [ofHideReadOnly, ofFileMustExist]
  428.     Left = 8
  429.     Top = 32
  430.   end
  431.   object SaveDialog1: TSaveDialog
  432.     DefaultExt = 'mti'
  433.     Filter = 'MiniTable files (*.mti)|*.mti'
  434.     Left = 8
  435.     Top = 64
  436.   end
  437.   object FieldTb: TMiniTable
  438.     BeforeInsert = FieldTbBeforeInsert
  439.     AfterInsert = FieldTbAfterInsert
  440.     BeforePost = FieldTbBeforePost
  441.     AfterPost = FieldTbAfterPost
  442.     BeforeDelete = FieldTbBeforeDelete
  443.     AfterDelete = FieldTbAfterDelete
  444.     ReadOnly = False
  445.     Left = 9
  446.     Top = 117
  447.     object FieldTbFieldName: TStringField
  448.       FieldName = 'FieldName'
  449.       OnValidate = FieldTbFieldNameValidate
  450.     end
  451.     object FieldTbFieldType: TStringField
  452.       FieldName = 'FieldType'
  453.       OnChange = FieldTbFieldTypeChange
  454.       OnValidate = FieldTbFieldTypeValidate
  455.     end
  456.     object FieldTbFieldSize: TIntegerField
  457.       FieldName = 'FieldSize'
  458.       OnValidate = FieldTbFieldSizeValidate
  459.     end
  460.     object FieldTbRequiredField: TBooleanField
  461.       FieldName = 'RequiredField'
  462.     end
  463.     object FieldTbDefaultValue: TStringField
  464.       FieldName = 'DefaultValue'
  465.       OnValidate = FieldTbDefaultValueValidate
  466.       Size = 60
  467.     end
  468.     object FieldTbMinValue: TStringField
  469.       FieldName = 'MinValue'
  470.       Size = 60
  471.     end
  472.     object FieldTbMaxValue: TStringField
  473.       FieldName = 'MaxValue'
  474.       Size = 60
  475.     end
  476.     object FieldTbFieldNo: TIntegerField
  477.       FieldName = 'FieldNo'
  478.     end
  479.   end
  480.   object DataSource1: TDataSource
  481.     DataSet = FieldTb
  482.     Left = 8
  483.     Top = 152
  484.   end
  485. end
  486.